from api_current import app_current

from index_api import app_index

from api_register import app_register

from api_update import app_update

from detail_api import app_detail

from user_paid_api import app_user_paid

from search_need_api import app_search_need 

from register_user_paid_api import app_user_paidregister

from api_verify_code import app_verify

from verify_code_api import app_verify_code

from flask import Flask

app = Flask(__name__)

app.register_blueprint(app_current)

app.register_blueprint(app_verify_code)

app.register_blueprint(app_verify)

app.register_blueprint(app_user_paidregister)

app.register_blueprint(app_index)

app.register_blueprint(app_register)

app.register_blueprint(app_update)

app.register_blueprint(app_detail)

app.register_blueprint(app_user_paid)

app.register_blueprint(app_search_need)

if __name__ == '__main__':

    c = app.test_client()

    x = c.get('/index').get_json()
    
    app.run(debug=True)

